package com.blackitheima1.InnerDemo.test2;
//私有成员内部类
public class TestInner {
    public static void main(String[] args) {
        Outer o=new Outer();
        o.method();

    }
}

class Outer{
    private class Inner{
        int a=11;
        public void show(){
            System.out.println("show的a:"+a);
        }
    }
    public void method(){
        Inner i=new Inner();
        i.show();
    }
}
